package com.gzist.elderlyserviceplatform.entity.dto;

import com.gzist.elderlyserviceplatform.entity.model.Message;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;


/**
 * 对话请求DTO
 */
@Data
@Schema(name =  "WsMessage", description = "websocket消息传输对象")
public class WsMessage {

    @Schema(description = "模型名称", example = "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B",required = false)
    private String model;

    @Schema(description = "最大token数", example = "2048",required = false)
    private String maxTokens;

    @Schema(description = "上下文对话内容",example = "[{\"role\":\"user\",\"content\":\"你好\"}]",required = true)
    private List<Message> messageList;
}

